from django.db import models

# Create your models here.
class Test(models.Model):
    name = models.CharField(max_length=20)

class Artical(models.Model):
    titlie = models.CharField(max_length=32,default="title")
    content= models.TextField(null = True)  #内容可以为空
    def __str__(self):
        return self.titlie
    

